import api from '../index'

export default {
  list: () => api.get('/system/naviMenu/tree', {
  }),

  detail: (id: number | string) => api.get(`/system/naviMenu/${id}`, {

  }),

  create: (data: any) => api.post('/system/naviMenu', data, {
  }),

  edit: (data: any) => api.post('/system/naviMenu/edit', data, {
  }),

  delete: (id: number | string) => api.get(`/system/naviMenu/del/${id}`, {
  }),
}
